package com.nd.qa.shareplate.service;

import java.util.HashMap;
import java.util.List;

import com.nd.qa.shareplate.model.User;

public interface LoginService {

	/**
	 * 查询用户信息
	 * @param userId
	 * @return
	 */
	public HashMap<String, Object> queryUserById(HashMap<String, Object> param) throws Exception;
	/**
	 * 查询界面头部和尾部菜单
	 * @return
	 */
	public List<HashMap<String,Object>> queryHeaderMenuFunction() throws Exception;
	/**
	 * 查询用户权限信息
	 * @return
	 * @throws Exception
	 */
	public List<HashMap<String,Object>> queryUserRoleById(HashMap<String, Object> map) throws Exception;
	/**
	 * 添加权限
	 * @param userRole
	 */
	//public void insertUserRole(UserRole userRole) throws Exception;
}
